package com.example.apiproject.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Comments)实体类
 *
 * @author makejava
 * @since 2023-09-23 13:40:57
 */
@Data
public class Comments implements Serializable {
    private static final long serialVersionUID = 414683760055977628L;

    private Integer id;
/**
     * 评论者ID
     */
    private Integer fromId;
/**
     * 被评论者ID
     */
    private Integer toId;
/**
     * 评论时间
     */
    private Date createTime;
/**
     * 0:已审核、1:未审核、2:已删除
     */
    private String status;
/**
     * 文字内容
     */
    private String content;
/**
     * 文章ID，评论属于哪个文章
     */
    private Integer articleId;



}

